package com.qingshu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qingshu.common.entity.custom.Singer;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Huzz
 * @since 2021-12-09
 */
public interface ISingerService extends IService<Singer> {

    /**
     * 添加歌手
     * @param toEntityStatic
     * @return
     */
    boolean addSinger(Singer toEntityStatic);

    /**
     * 根据id进行查询
     * @param singerId
     * @return
     */
    Singer findSingerById(Integer singerId);

    /**
     * 根据名字进行查询
     * @param name
     * @return
     */
    List<Singer> findSingerByName(String name);
}
